package jflowmap.export.pdf;

import java.io.File;

import jflowmap.export.Exporter;
import jflowmap.export.Renderer;

public class PDFRenderer implements Renderer {
	
	private File out;
	
	@Override
	public void render(Exporter exporter) {
		System.out.println("Rendering PDF to " + out);
	}

	@Override
	public <T> void setOption(String option, T value) {
		System.out.println("Rendering option: file = " + value.toString());
		if (FILENAME_OPTION.equals(option)) {
			assert (value instanceof File);
			this.out = (File) value;
		}
	}

}
